﻿using furion.blog.Domain;
using furion.blog.Domain.IRepositories;
using furion.blog.Domain.MySQL;
using Furion.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.EntityFramework.Core.Repositories
{
    public class BaseInfoRepository : BaseSqlSugarRepository<BaseInfo> , IBaseInfoRepository , ISingleton
    {

        public async Task<List<BaseInfo>> All() {
            //Expression<Func<BaseInfo, bool>> exp = a => a.Mobile == ""; //表达式
            return await base.GetListAsync();
        }

    }
}
